#menu {
  display: flex;
  flex-wrap: wrap;
}
#menu > div {
  overflow: hidden;
}
#menu > div a {
  float: left;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  margin: 5px;
}
